<!DOCTYPE html>
<!-- 采煤专业计划页面 -->
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%String actionUrl = request.getContextPath() + "/DispatchAction.do";%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCP10" method="POST" action="<%=actionUrl%>">
		
		<EF:EFInput type="hidden" ename="fdProfessionalplanId" cname="专业计划ID" etc=" "/>
		<EF:EFInput type="hidden" ename="fdPlanYear" cname="计划年份" etc=" "/>
		<EF:EFInput type="hidden" ename="fdPlanMonth" cname="计划月份" etc=" "/>
		
		<div id = "ef_region_inqu" title="查询条件" efRegionShowClear="true" efRegionSave="true">
			<div class="row-fluid"> 
				<div class="span4"><EF:EFInput cname="计划名称" blockId="inqu_status" ename="fdTitle" row="0" etc=" style='width:140px;'"/></div> 
				<div class="span4">
				    <EF:EFSelect blockId="inqu_status" row="0" ename="fdPlanStatus" cname="计划状态" etc=" style='width:140px;'">
						<EF:EFOptions blockId="cmes.cp.planStatus" labelColumn="display" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>
				</div> 
				<div class="span4">
				    <EF:EFInput cname="计划年份" blockId="inqu_status" ename="fdPlanYear" row="0" etc=" style='width:140px;'"/>
			    </div>
			</div>
			<div class="row-fluid">  
				<div class="span4">
				    <EF:EFSelect blockId="inqu_status" row="0" ename="fdPlanMonth" cname="计划月份" etc=" style='width:140px;'">
						<EF:EFOptions blockId="cmes.cp.planMonth" labelColumn="display" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>
				</div> 
			</div>
		</div> 
		<div id="ef_region_result" title="月度原煤计划" style="overflow: scroll">
			<div id="ef_grid_r" title="页面信息" style="overflow: hidden; height: 320px;"></div>
		</div>
		<div id = "ef_region_detail" title="计划明细信息" > 
			<div id = "ef_grid_d" title="页面信息" style="height:320px;"></div>
		</div>
		<EF:EFRegion />  
        <EF:EFGrid blockId="result" paintId="ef_grid_r" serviceName="ZMCP10" queryMethod="query" autoDraw="no" readonly="false"  ajax="true" style="operationBar:true">
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false"/>
			<EF:EFColumn ename="fdDocId" cname="docId" visible="false"/>
			
			<EF:EFColumn ename="fdPlanStatus" cname="计划状态" enable="false" align="center" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdPlanType" cname="*计划类型" align="center" width="80" enable="false" validateRegex="/^.+$/" validateErrorPrompt="不能为空" nullable="false" />
			<EF:EFColumn ename="fdTitle" cname="*计划名称" align="center" enable="false"  width="130"  validateRegex="/^\S{1,50}$/" validateErrorPrompt="输入1~50个字符，不能输入空格"  />
		    <EF:EFColumn ename="fdPlanYear" cname="*计划年份" align="center" nullable="false"  width="80" validateRegex="/^[1-9][0-9]{3}$/" validateErrorPrompt="输入4位数字的年份" />
			<EF:EFComboColumn ename="fdPlanMonth" cname="*计划月份" align="center" width="60" nullable="false" blockName="cmes.cp.planMonth" labelProperty="display" valueProperty="value" />
			<EF:EFColumn ename="fdCreateDate" cname="*编制日期" editType="date" dateFormat="yyyy-MM-dd" align="center" width="100" nullable="false" />
			<EF:EFColumn ename="fdYmSum" cname="计划总量(万t)" align="center" enable="false" width="100" />
			<EF:EFColumn ename="fdTjd" cname="推进度(m)" align="center" enable="false" width="100" />
			<EF:EFColumn ename="fdBhcmj" cname="薄煤层面积(㎡)" align="center" enable="false" width="100" />
			<EF:EFColumn ename="fdZhmcmj" cname="中厚煤层面积(㎡)" align="center" enable="false" width="130" />
			<EF:EFColumn ename="fdPlanGrubMine" cname="掘进煤产量(万t)" nullable="false" align="center" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字"  width="100" />
			
			<EF:EFColumn ename="fdBhcsl" cname="薄煤层产量(t)" align="center" enable="false" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
			<EF:EFColumn ename="fdZhcsl" cname="中厚煤层产量(t)" align="center" enable="false"/>
			
			<EF:EFColumn ename="fdHf" cname="灰分(%)" align="center" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" width="100" />
			<EF:EFColumn ename="fdGx" cname="工效(t/工)" align="center" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" width="100" />
			<EF:EFColumn ename="fdAuditor" cname="审批人" align="center" visible="false"/>
        </EF:EFGrid>
        <EF:EFGrid blockId="result" paintId="ef_grid_d" serviceName="ZMCP11" queryMethod="query" readonly="false" autoDraw="no" ajax="true" style ="operationBar:true;">
        		<EF:EFColumn ename="fdKeyId" cname="主键" visible="false"/>
				<EF:EFColumn ename="fdBeginDate" cname="*开始日期" dateFormat="yyyy-MM-dd" editType="date" validateRegex="/^.+$/" validateErrorPrompt="不能为空" nullable="false" align="center" width="80" />
				<EF:EFComboColumn ename="fdProjectId" cname="*工作面" nullable="false" blockName="cmes.cp.workingface" labelProperty="fdNoName" valueProperty="fdKeyId" align="center" width="160" />
				<EF:EFComboColumn ename="fdDepartmentId" cname="*施工部门" nullable="false" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" align="center" width="300" />
				<EF:EFColumn ename="fdThickness" cname="煤厚(m)" align="center" width="80"  validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
				<EF:EFColumn ename="fdBulkDensity" cname="容重(t/m³)" align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
				<EF:EFColumn ename="fdMineLength" cname="面长(m)" align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
				<EF:EFColumn ename="fdMineHight" cname="采高(m)" align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
				<EF:EFColumn ename="fdBasedIn" cname="推进(m)" align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,1}$)|(^0\.\d{0,1}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过1位的数字" />
				<EF:EFColumn ename="fdRecoveryRate" cname="回采率(%)" align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,1}$)|(^0\.\d{0,1}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过1位的数字" />
				<EF:EFColumn ename="fdPlanSum" cname="*计划产量(t)" enable="false" align="center" width="80" nullable="false" />
				<EF:EFComboColumn ename="fdCoalType" cname="落煤方式" align="center" width="60" blockName="cmes.cs.recoveryProcess" labelProperty="display" valueProperty="display" />
				<EF:EFComboColumn ename="fdQualityGrade" cname="工程质量" align="center" width="60" blockName="cmes.cp.qualityGrade" labelProperty="display" valueProperty="value" />
				<EF:EFColumn ename="fdBhcmj" cname="薄煤层面积(㎡)" align="center" width="100" enable="false"/>
				<EF:EFColumn ename="fdZhcmj" cname="中厚煤层面积(㎡)" align="center" width="120" enable="false"/>
				<EF:EFColumn ename="fdBhcsl" cname="薄煤层产量(t)" align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
				<EF:EFColumn ename="fdZhcsl" cname="中厚煤层产量(t)" align="center" width="100" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
				<EF:EFColumn ename="fdBasedMine" cname="工效(t/工)" align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,1}$)|(^0\.\d{0,1}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过1位的数字"  />
				<EF:EFColumn ename="fdAshIndex" cname="*灰分(%)" align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,1}$)|(^0\.\d{0,1}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过1位的数字" nullable="false" />
				<EF:EFColumn ename="fdRemarks" cname="备注" align="center" width="100" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入0~250个字符" editType="textarea"/>
		</EF:EFGrid> 
	</EF:EFForm> 
</EF:EFBody> 
</html>